/**
 * Generate time : 2011-06-21 12:09:10
 * Version : 1.0.1.V20070717
 */
package com.baosight.sczx.zm.cs.domain;

import java.util.HashMap;
import java.util.Map;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.util.StringUtils;

/**
 * ZMCSWorkingface table comment : 工作面
 */
public class ZMCSWorkingFace extends DaoEPBase {

	private String fdKeyId = " "; /* FD_KEY_ID */
	private String fdEngineeringdesignId = " "; /* 工程设计ID */
	private String fdNo = " "; /* 工作面编号 */
	private String fdName = " "; /* 工作面名称 */
	private String fdAbbreviation = " "; /* 工作面简称 */
	private String fdDeleteStatus = " "; /* 删除状态 */
	private Double fdLength = new Double(0); /* 平均长度 */
	private Double fdHeight = new Double(0); /* 采高 */
	private Double fdBulk = new Double(0); /* 容重 */
	private Double fdWidth = new Double(0); /* 宽度 */
	private String fdFrameType = " "; /* 架型 */
	private String fdBeginDate = " "; /* 开采日期 */
	private String fdCoalTypeId = " "; /* 采煤方法ID */
	private String fdRecoveryProcessId = " "; /* 回采工艺ID */
	private String fdEndDate = " "; /* 结束日期 */
	private String fdMiningWay = " "; /* 开采方式 */
	private String fdMineNo = " "; /* 煤层编号 */
	private String fdWindRoadway = " "; /* 风巷支护 */
	private String fdMechanicalRoadway = " "; /* 机巷支护 */
	private String fdWaistRoadway = " "; /* 腰巷支护 */
	private Double fdToLength = new Double(0); /* 走向长度 */
	private Double fdSurplusToLength = new Double(0); /* 剩余走向长度 */
	private Double fdThickness = new Double(0); /* 平均煤厚 */
	private Double fdReserves = new Double(0); /* 工作面储量 */
	private Double fdSurplusReserves = new Double(0); /* 剩余储量 */
	private Double fdChance = new Double(0); /* 回采率 */
	private String fdManagementMethod = " "; /* 顶板管理方法 */
	private String fdRailLane = " "; /* 轨道巷支护 */
	private String fdDipAngle = " "; /* 煤层倾角起 */
	private String fdDipAngleType = " "; /* 煤层倾斜类别 */
	private String fdFallType = " "; /* 落煤方式 */
	private String fdTopMaterials = " "; /* 背顶材料 */
	private String fdRemarks = " "; /* 备注 */

	/**
	 * initialize the metadata
	 */
	public void initMetaData() {
		EiColumn eiColumn;

		eiColumn = new EiColumn("fdKeyId");
		eiColumn.setPrimaryKey(true);
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("FD_KEY_ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdEngineeringdesignId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("工程设计ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNo");
		eiColumn.setFieldLength(20);
		eiColumn.setDescName("工作面编号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdName");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("工作面名称");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdAbbreviation");
		eiColumn.setFieldLength(20);
		eiColumn.setDescName("工作面简称");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdDeleteStatus");
		eiColumn.setFieldLength(1);
		eiColumn.setDescName("删除状态");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdLength");
		eiColumn.setType("N");
		eiColumn.setScaleLength(1);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("平均长度");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdHeight");
		eiColumn.setType("N");
		eiColumn.setScaleLength(1);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("采高");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdBulk");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("容重");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdWidth");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("宽度");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdFrameType");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("架型");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdBeginDate");
		eiColumn.setFieldLength(14);
		eiColumn.setDescName("开采日期");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdCoalTypeId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("采煤方法ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRecoveryProcessId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("回采工艺ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdEndDate");
		eiColumn.setFieldLength(14);
		eiColumn.setDescName("结束日期");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMiningWay");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("开采方式");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMineNo");
		eiColumn.setFieldLength(20);
		eiColumn.setDescName("煤层编号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdWindRoadway");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("风巷支护");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMechanicalRoadway");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("机巷支护");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdWaistRoadway");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("腰巷支护");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdToLength");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("走向长度");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSurplusToLength");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("剩余走向长度");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdThickness");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("平均煤厚");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdReserves");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("工作面储量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSurplusReserves");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("剩余储量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdChance");
		eiColumn.setType("N");
		eiColumn.setScaleLength(4);
		eiColumn.setFieldLength(12);
		eiColumn.setDescName("回采率");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdManagementMethod");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("顶板管理方法");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRailLane");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("轨道巷支护");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdDipAngle");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("煤层倾角起");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdDipAngleType");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("煤层倾斜类别");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdFallType");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("落煤方式");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdTopMaterials");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("背顶材料");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRemarks");
		eiColumn.setFieldLength(500);
		eiColumn.setDescName("备注");
		eiMetadata.addMeta(eiColumn);

	}

	/**
	 * the constructor
	 */
	public ZMCSWorkingFace() {
		initMetaData();
	}

	/**
	 * get the fdKeyId - FD_KEY_ID
	 * 
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}

	/**
	 * set the fdKeyId - FD_KEY_ID
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}

	/**
	 * get the fdEngineeringdesignId - 工程设计ID
	 * 
	 * @return the fdEngineeringdesignId
	 */
	public String getFdEngineeringdesignId() {
		return this.fdEngineeringdesignId;
	}

	/**
	 * set the fdEngineeringdesignId - 工程设计ID
	 */
	public void setFdEngineeringdesignId(String fdEngineeringdesignId) {
		this.fdEngineeringdesignId = fdEngineeringdesignId;
	}

	/**
	 * get the fdNo - 工作面编号
	 * 
	 * @return the fdNo
	 */
	public String getFdNo() {
		return this.fdNo;
	}

	/**
	 * set the fdNo - 工作面编号
	 */
	public void setFdNo(String fdNo) {
		this.fdNo = fdNo;
	}

	/**
	 * get the fdName - 工作面名称
	 * 
	 * @return the fdName
	 */
	public String getFdName() {
		return this.fdName;
	}

	/**
	 * set the fdName - 工作面名称
	 */
	public void setFdName(String fdName) {
		this.fdName = fdName;
	}

	/**
	 * get the fdAbbreviation - 工作面简称
	 * 
	 * @return the fdAbbreviation
	 */
	public String getFdAbbreviation() {
		return this.fdAbbreviation;
	}

	/**
	 * set the fdAbbreviation - 工作面简称
	 */
	public void setFdAbbreviation(String fdAbbreviation) {
		this.fdAbbreviation = fdAbbreviation;
	}

	/**
	 * get the fdDeleteStatus - 删除状态
	 * 
	 * @return the fdDeleteStatus
	 */
	public String getFdDeleteStatus() {
		return this.fdDeleteStatus;
	}

	/**
	 * set the fdDeleteStatus - 删除状态
	 */
	public void setFdDeleteStatus(String fdDeleteStatus) {
		this.fdDeleteStatus = fdDeleteStatus;
	}

	/**
	 * get the fdLength - 平均长度
	 * 
	 * @return the fdLength
	 */
	public Double getFdLength() {
		return this.fdLength;
	}

	/**
	 * set the fdLength - 平均长度
	 */
	public void setFdLength(Double fdLength) {
		this.fdLength = fdLength;
	}

	/**
	 * get the fdHeight - 采高
	 * 
	 * @return the fdHeight
	 */
	public Double getFdHeight() {
		return this.fdHeight;
	}

	/**
	 * set the fdHeight - 采高
	 */
	public void setFdHeight(Double fdHeight) {
		this.fdHeight = fdHeight;
	}

	/**
	 * get the fdBulk - 容重
	 * 
	 * @return the fdBulk
	 */
	public Double getFdBulk() {
		return this.fdBulk;
	}

	/**
	 * set the fdBulk - 容重
	 */
	public void setFdBulk(Double fdBulk) {
		this.fdBulk = fdBulk;
	}

	/**
	 * get the fdWidth - 宽度
	 * 
	 * @return the fdWidth
	 */
	public Double getFdWidth() {
		return this.fdWidth;
	}

	/**
	 * set the fdWidth - 宽度
	 */
	public void setFdWidth(Double fdWidth) {
		this.fdWidth = fdWidth;
	}

	/**
	 * get the fdFrameType - 架型
	 * 
	 * @return the fdFrameType
	 */
	public String getFdFrameType() {
		return this.fdFrameType;
	}

	/**
	 * set the fdFrameType - 架型
	 */
	public void setFdFrameType(String fdFrameType) {
		this.fdFrameType = fdFrameType;
	}

	/**
	 * get the fdBeginDate - 开采日期
	 * 
	 * @return the fdBeginDate
	 */
	public String getFdBeginDate() {
		return this.fdBeginDate;
	}

	/**
	 * set the fdBeginDate - 开采日期
	 */
	public void setFdBeginDate(String fdBeginDate) {
		this.fdBeginDate = fdBeginDate;
	}

	/**
	 * get the fdCoalTypeId - 采煤方法ID
	 * 
	 * @return the fdCoalTypeId
	 */
	public String getFdCoalTypeId() {
		return this.fdCoalTypeId;
	}

	/**
	 * set the fdCoalTypeId - 采煤方法ID
	 */
	public void setFdCoalTypeId(String fdCoalTypeId) {
		this.fdCoalTypeId = fdCoalTypeId;
	}

	/**
	 * get the fdRecoveryProcessId - 回采工艺ID
	 * 
	 * @return the fdRecoveryProcessId
	 */
	public String getFdRecoveryProcessId() {
		return this.fdRecoveryProcessId;
	}

	/**
	 * set the fdRecoveryProcessId - 回采工艺ID
	 */
	public void setFdRecoveryProcessId(String fdRecoveryProcessId) {
		this.fdRecoveryProcessId = fdRecoveryProcessId;
	}

	/**
	 * get the fdEndDate - 结束日期
	 * 
	 * @return the fdEndDate
	 */
	public String getFdEndDate() {
		return this.fdEndDate;
	}

	/**
	 * set the fdEndDate - 结束日期
	 */
	public void setFdEndDate(String fdEndDate) {
		this.fdEndDate = fdEndDate;
	}

	/**
	 * get the fdMiningWay - 开采方式
	 * 
	 * @return the fdMiningWay
	 */
	public String getFdMiningWay() {
		return this.fdMiningWay;
	}

	/**
	 * set the fdMiningWay - 开采方式
	 */
	public void setFdMiningWay(String fdMiningWay) {
		this.fdMiningWay = fdMiningWay;
	}

	/**
	 * get the fdMineNo - 煤层编号
	 * 
	 * @return the fdMineNo
	 */
	public String getFdMineNo() {
		return this.fdMineNo;
	}

	/**
	 * set the fdMineNo - 煤层编号
	 */
	public void setFdMineNo(String fdMineNo) {
		this.fdMineNo = fdMineNo;
	}

	/**
	 * get the fdWindRoadway - 风巷支护
	 * 
	 * @return the fdWindRoadway
	 */
	public String getFdWindRoadway() {
		return this.fdWindRoadway;
	}

	/**
	 * set the fdWindRoadway - 风巷支护
	 */
	public void setFdWindRoadway(String fdWindRoadway) {
		this.fdWindRoadway = fdWindRoadway;
	}

	/**
	 * get the fdMechanicalRoadway - 机巷支护
	 * 
	 * @return the fdMechanicalRoadway
	 */
	public String getFdMechanicalRoadway() {
		return this.fdMechanicalRoadway;
	}

	/**
	 * set the fdMechanicalRoadway - 机巷支护
	 */
	public void setFdMechanicalRoadway(String fdMechanicalRoadway) {
		this.fdMechanicalRoadway = fdMechanicalRoadway;
	}

	/**
	 * get the fdWaistRoadway - 腰巷支护
	 * 
	 * @return the fdWaistRoadway
	 */
	public String getFdWaistRoadway() {
		return this.fdWaistRoadway;
	}

	/**
	 * set the fdWaistRoadway - 腰巷支护
	 */
	public void setFdWaistRoadway(String fdWaistRoadway) {
		this.fdWaistRoadway = fdWaistRoadway;
	}

	/**
	 * get the fdToLength - 走向长度
	 * 
	 * @return the fdToLength
	 */
	public Double getFdToLength() {
		return this.fdToLength;
	}

	/**
	 * set the fdToLength - 走向长度
	 */
	public void setFdToLength(Double fdToLength) {
		this.fdToLength = fdToLength;
	}

	/**
	 * get the fdSurplusToLength - 剩余走向长度
	 * 
	 * @return the fdSurplusToLength
	 */
	public Double getFdSurplusToLength() {
		return this.fdSurplusToLength;
	}

	/**
	 * set the fdSurplusToLength - 剩余走向长度
	 */
	public void setFdSurplusToLength(Double fdSurplusToLength) {
		this.fdSurplusToLength = fdSurplusToLength;
	}

	/**
	 * get the fdThickness - 平均煤厚
	 * 
	 * @return the fdThickness
	 */
	public Double getFdThickness() {
		return this.fdThickness;
	}

	/**
	 * set the fdThickness - 平均煤厚
	 */
	public void setFdThickness(Double fdThickness) {
		this.fdThickness = fdThickness;
	}

	/**
	 * get the fdReserves - 工作面储量
	 * 
	 * @return the fdReserves
	 */
	public Double getFdReserves() {
		return this.fdReserves;
	}

	/**
	 * set the fdReserves - 工作面储量
	 */
	public void setFdReserves(Double fdReserves) {
		this.fdReserves = fdReserves;
	}

	/**
	 * get the fdSurplusReserves - 剩余储量
	 * 
	 * @return the fdSurplusReserves
	 */
	public Double getFdSurplusReserves() {
		return this.fdSurplusReserves;
	}

	/**
	 * set the fdSurplusReserves - 剩余储量
	 */
	public void setFdSurplusReserves(Double fdSurplusReserves) {
		this.fdSurplusReserves = fdSurplusReserves;
	}

	/**
	 * get the fdChance - 回采率
	 * 
	 * @return the fdChance
	 */
	public Double getFdChance() {
		return this.fdChance;
	}

	/**
	 * set the fdChance - 回采率
	 */
	public void setFdChance(Double fdChance) {
		this.fdChance = fdChance;
	}

	/**
	 * get the fdManagementMethod - 顶板管理方法
	 * 
	 * @return the fdManagementMethod
	 */
	public String getFdManagementMethod() {
		return this.fdManagementMethod;
	}

	/**
	 * set the fdManagementMethod - 顶板管理方法
	 */
	public void setFdManagementMethod(String fdManagementMethod) {
		this.fdManagementMethod = fdManagementMethod;
	}

	/**
	 * get the fdRailLane - 轨道巷支护
	 * 
	 * @return the fdRailLane
	 */
	public String getFdRailLane() {
		return this.fdRailLane;
	}

	/**
	 * set the fdRailLane - 轨道巷支护
	 */
	public void setFdRailLane(String fdRailLane) {
		this.fdRailLane = fdRailLane;
	}

	/**
	 * get the fdDipAngle - 煤层倾角起
	 * 
	 * @return the fdDipAngle
	 */
	public String getFdDipAngle() {
		return this.fdDipAngle;
	}

	/**
	 * set the fdDipAngle - 煤层倾角起
	 */
	public void setFdDipAngle(String fdDipAngle) {
		this.fdDipAngle = fdDipAngle;
	}

	/**
	 * get the fdDipAngleType - 煤层倾斜类别
	 * 
	 * @return the fdDipAngleType
	 */
	public String getFdDipAngleType() {
		return this.fdDipAngleType;
	}

	/**
	 * set the fdDipAngleType - 煤层倾斜类别
	 */
	public void setFdDipAngleType(String fdDipAngleType) {
		this.fdDipAngleType = fdDipAngleType;
	}

	/**
	 * get the fdFallType - 落煤方式
	 * 
	 * @return the fdFallType
	 */
	public String getFdFallType() {
		return this.fdFallType;
	}

	/**
	 * set the fdFallType - 落煤方式
	 */
	public void setFdFallType(String fdFallType) {
		this.fdFallType = fdFallType;
	}

	/**
	 * get the fdTopMaterials - 背顶材料
	 * 
	 * @return the fdTopMaterials
	 */
	public String getFdTopMaterials() {
		return this.fdTopMaterials;
	}

	/**
	 * set the fdTopMaterials - 背顶材料
	 */
	public void setFdTopMaterials(String fdTopMaterials) {
		this.fdTopMaterials = fdTopMaterials;
	}

	/**
	 * get the fdRemarks - 备注
	 * 
	 * @return the fdRemarks
	 */
	public String getFdRemarks() {
		return this.fdRemarks;
	}

	/**
	 * set the fdRemarks - 备注
	 */
	public void setFdRemarks(String fdRemarks) {
		this.fdRemarks = fdRemarks;
	}

	/**
	 * get the value from Map
	 */
	@SuppressWarnings("rawtypes")
	public void fromMap(Map map) {

		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdEngineeringdesignId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdEngineeringdesignId")), fdEngineeringdesignId));
		setFdNo(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdNo")), fdNo));
		setFdName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdName")), fdName));
		setFdAbbreviation(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdAbbreviation")), fdAbbreviation));
		setFdDeleteStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDeleteStatus")), fdDeleteStatus));
		setFdLength(NumberUtils.toDouble(StringUtils.toString(map.get("fdLength")), fdLength));
		setFdHeight(NumberUtils.toDouble(StringUtils.toString(map.get("fdHeight")), fdHeight));
		setFdBulk(NumberUtils.toDouble(StringUtils.toString(map.get("fdBulk")), fdBulk));
		setFdWidth(NumberUtils.toDouble(StringUtils.toString(map.get("fdWidth")), fdWidth));
		setFdFrameType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFrameType")), fdFrameType));
		setFdBeginDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdBeginDate")), fdBeginDate));
		setFdCoalTypeId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCoalTypeId")), fdCoalTypeId));
		setFdRecoveryProcessId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRecoveryProcessId")), fdRecoveryProcessId));
		setFdEndDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdEndDate")), fdEndDate));
		setFdMiningWay(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningWay")), fdMiningWay));
		setFdMineNo(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMineNo")), fdMineNo));
		setFdWindRoadway(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWindRoadway")), fdWindRoadway));
		setFdMechanicalRoadway(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMechanicalRoadway")), fdMechanicalRoadway));
		setFdWaistRoadway(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdWaistRoadway")), fdWaistRoadway));
		setFdToLength(NumberUtils.toDouble(StringUtils.toString(map.get("fdToLength")), fdToLength));
		setFdSurplusToLength(NumberUtils.toDouble(StringUtils.toString(map.get("fdSurplusToLength")), fdSurplusToLength));
		setFdThickness(NumberUtils.toDouble(StringUtils.toString(map.get("fdThickness")), fdThickness));
		setFdReserves(NumberUtils.toDouble(StringUtils.toString(map.get("fdReserves")), fdReserves));
		setFdSurplusReserves(NumberUtils.toDouble(StringUtils.toString(map.get("fdSurplusReserves")), fdSurplusReserves));
		setFdChance(NumberUtils.toDouble(StringUtils.toString(map.get("fdChance")), fdChance));
		setFdManagementMethod(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdManagementMethod")), fdManagementMethod));
		setFdRailLane(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRailLane")), fdRailLane));
		setFdDipAngle(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDipAngle")), fdDipAngle));
		setFdDipAngleType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDipAngleType")), fdDipAngleType));
		setFdFallType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFallType")), fdFallType));
		setFdTopMaterials(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdTopMaterials")), fdTopMaterials));
		setFdRemarks(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRemarks")), fdRemarks));
	}

	/**
	 * set the value to Map
	 */
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public Map toMap() {

		Map map = new HashMap();
		map.put("fdKeyId", StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));
		map.put("fdEngineeringdesignId", StringUtils.toString(fdEngineeringdesignId, eiMetadata.getMeta("fdEngineeringdesignId")));
		map.put("fdNo", StringUtils.toString(fdNo, eiMetadata.getMeta("fdNo")));
		map.put("fdName", StringUtils.toString(fdName, eiMetadata.getMeta("fdName")));
		map.put("fdAbbreviation", StringUtils.toString(fdAbbreviation, eiMetadata.getMeta("fdAbbreviation")));
		map.put("fdDeleteStatus", StringUtils.toString(fdDeleteStatus, eiMetadata.getMeta("fdDeleteStatus")));
		map.put("fdLength", StringUtils.toString(fdLength, eiMetadata.getMeta("fdLength")));
		map.put("fdHeight", StringUtils.toString(fdHeight, eiMetadata.getMeta("fdHeight")));
		map.put("fdBulk", StringUtils.toString(fdBulk, eiMetadata.getMeta("fdBulk")));
		map.put("fdWidth", StringUtils.toString(fdWidth, eiMetadata.getMeta("fdWidth")));
		map.put("fdFrameType", StringUtils.toString(fdFrameType, eiMetadata.getMeta("fdFrameType")));
		map.put("fdBeginDate", StringUtils.toString(fdBeginDate, eiMetadata.getMeta("fdBeginDate")));
		map.put("fdCoalTypeId", StringUtils.toString(fdCoalTypeId, eiMetadata.getMeta("fdCoalTypeId")));
		map.put("fdRecoveryProcessId", StringUtils.toString(fdRecoveryProcessId, eiMetadata.getMeta("fdRecoveryProcessId")));
		map.put("fdEndDate", StringUtils.toString(fdEndDate, eiMetadata.getMeta("fdEndDate")));
		map.put("fdMiningWay", StringUtils.toString(fdMiningWay, eiMetadata.getMeta("fdMiningWay")));
		map.put("fdMineNo", StringUtils.toString(fdMineNo, eiMetadata.getMeta("fdMineNo")));
		map.put("fdWindRoadway", StringUtils.toString(fdWindRoadway, eiMetadata.getMeta("fdWindRoadway")));
		map.put("fdMechanicalRoadway", StringUtils.toString(fdMechanicalRoadway, eiMetadata.getMeta("fdMechanicalRoadway")));
		map.put("fdWaistRoadway", StringUtils.toString(fdWaistRoadway, eiMetadata.getMeta("fdWaistRoadway")));
		map.put("fdToLength", StringUtils.toString(fdToLength, eiMetadata.getMeta("fdToLength")));
		map.put("fdSurplusToLength", StringUtils.toString(fdSurplusToLength, eiMetadata.getMeta("fdSurplusToLength")));
		map.put("fdThickness", StringUtils.toString(fdThickness, eiMetadata.getMeta("fdThickness")));
		map.put("fdReserves", StringUtils.toString(fdReserves, eiMetadata.getMeta("fdReserves")));
		map.put("fdSurplusReserves", StringUtils.toString(fdSurplusReserves, eiMetadata.getMeta("fdSurplusReserves")));
		map.put("fdChance", StringUtils.toString(fdChance, eiMetadata.getMeta("fdChance")));
		map.put("fdManagementMethod", StringUtils.toString(fdManagementMethod, eiMetadata.getMeta("fdManagementMethod")));
		map.put("fdRailLane", StringUtils.toString(fdRailLane, eiMetadata.getMeta("fdRailLane")));
		map.put("fdDipAngle", StringUtils.toString(fdDipAngle, eiMetadata.getMeta("fdDipAngle")));
		map.put("fdDipAngleType", StringUtils.toString(fdDipAngleType, eiMetadata.getMeta("fdDipAngleType")));
		map.put("fdFallType", StringUtils.toString(fdFallType, eiMetadata.getMeta("fdFallType")));
		map.put("fdTopMaterials", StringUtils.toString(fdTopMaterials, eiMetadata.getMeta("fdTopMaterials")));
		map.put("fdRemarks", StringUtils.toString(fdRemarks, eiMetadata.getMeta("fdRemarks")));

		return map;

	}
}